<div>
    <div ng-if="$ctrl.listType === 'picture-card'">
        <bwc-upload-list listType={{$ctrl.listType}} files={{uploadFiles}} on-remove={{$ctrl.handleRemove}} handlePreview={{$ctrl.onPreview}}>
        </bwc-upload-list>
    </div>
    <div class="el-upload" ng-class="['el-upload--'+$ctrl.listType]" ng-click="handleClick($event)">
        <div ng-if="$ctrl.drag">
            <bwc-upload-dragger on-file="{{uploadFiles}}"> <span ng-transclude></span></bwc-upload-dragger>
        </div>
        <span ng-if="!$ctrl.drag" ng-transclude></span>
        <input class="el-upload__input" type="file" ng-model="file" onchange="handleChange(this)" multiple="{{$ctrl.multiple}}" accept="{{$ctrl.accept}}"></input>
    </div>
    <span ng-transclude="tip"></span>
    <div ng-if="$ctrl.listType !== 'picture-card'">
        <bwc-upload-list listType={{$ctrl.listType}} files={{uploadFiles}} on-remove={{$ctrl.handleRemove}} handlePreview={{$ctrl.onPreview}}>
        </bwc-upload-list>
    </div>
</div>
